I was thinking about how to use sysml using python models but much of it involves object modelling as can be done in python so python itself can be used. sysml is geared towards different types of people interacting with design and not towards a description which can be parsed by a computer sysml is generic
Modelica seems closer to what I want to be doing, a method of describing systems which can then be picked up
Complex general language description is preferable then if common interfaces can be found
I plotted out an example system using sysml to describe the water collection system that ive built When modelling, not nescessarily in sysml I am currently aiming to describe a system in general and not just production processes. On reflection, systems encode much complexity I think we need a discussion about what to include and what not to Aspects of systems that need to be designed
Taken from the comments in the document
Need to describe this system enough to be able to determine if the second statement is true:
- This system this system supports one persons entire water supply
- This system will support another person
To know that the system supports one persons water we would know what that persons water requirements were in ( quantity per time span) and also know that this system is able to provide a max ( quantity per time span) output >= that persons requirements.
In order to determine the second statements truth we would need to be able to calculate the max ( quantity per time span) of the retrieval stage this should then be >= the sum of all of the peoples requirement rates. The time span should not exceed either the minimum of either persons time span values or a specified value as to avoid ill health caused by prolonged lack of water
We are dealing with storage here which is more complex than not having storage. If we didnt have storage then provided people consumed at the time of rainfall then the q/ t would equal the rainfall q/ t minus any loss in processing. Ignoring the last storage, if there was storage then the retrieval q/ t would still equal the rainfall q/ t minus the processing loss but q/ t is lost if the tanks are allowed to overflow.
So the question of whether it supports the new increased q/ t demand, we are lacking data about what is acceptable consumption habit
In order to determine the max q/t of the output we could either state in our model that the q/ t of the retireval output is the same as the q/ t input of the rainwater. We could also state within the action blocks the relationship between the inputs and outputs.
this is a good case for the need for future expansion of a modelled system
This was possible using the production process model. Storage however wasnt possible to model there. Using these relationships of i/ o in actions we can trace that back to the first step. Currently it would seem like we were dependant on the large contaminants but we are not. Well in the production process example,
We need some way of determining the amount of rainfall. We said that this could be a yearly probability chart
The rain falls at a q/ t rate for a specific area. so its ( q/ t)/ a Lets say that our model here states that our input is in this format.
So we have stated that this system takes rainfall at a certain measurement type as an input. I dont want to encode how the rain will fall within this description and I want to be able to update the description of how rain falls over time so it would make sense then for this description to reach out and say that this input value is controlled by the output of the system known as "Rainfall". An issue is that the amount of rainfall is dependant upon the location. So, however we have modelled the rainfall system, in order to determine the rainfall we would need to know our location, we could pass the value of our systems location to the rainfall input which would be set at composition time maybe, ( we could state that this system is always in one position ( lame)), we could store the location of our system component ( here that would be the capture action) and then we can use that to determine the location of inputs. Perhaps these locations could be defined as offsets to the systems coordinates.
rainfall is a movement of material and happens all across the planet atmosphere dont want to have to simulate or do operations upon the whole planet wide rainfall system and only want to consider relevant
in the same way that rainfall would be beneficial to model a very large scale system and to avoid the computational issue-s that come with that, perhaps one can model the entirity of a specific reality within the same model and can then take steps to avoid computational cost-s of storing and interacting with the model Although this may require a specific modelling format and not custom implementation I was thinking it could be divided by location in physical space but a single location in space could contain a large amount of detail, a better dividing method would be to divide or delay load based upon factor-s more related to computation such as the detail or any relevant measurable factor, if individual components are involved in modelling then one could use a delayed load structure, perhap called lazy load and implemented in lTSD.getData Lazy load could do batch request-s and fan out from the site of the requested amount with a set batch size would the modelling be generic or any method using a custom interface if a loss is had from inspectablility, perhaps this inspectability could become part of the interface querying the movement at a certain part of it may be needed this is catagorised as ( ( a model of material organisation), ( contained within the real))
Physical location of described systems- predefined- entered in composition- other solution- q
in both the description of the existance of this system and in description of rainfall one is modelling the prescence and arrangement of material in reality and and therefore both should be part of the reality model
The discerning body can take our rainfall value, either use a directly stated relation or work up the chain and then find the ( q/ t)/ a of the rainfall, and the a of the metal to find the rainfall quantity